﻿/*变量定义*/
.rounded-corners (@radius: 5px) {
    -webkit-border-radius: @radius;
    -moz-border-radius: @radius;
    -ms-border-radius: @radius;
    -o-border-radius: @radius;
    border-radius: @radius;
}

@main-color: #66cccc;
@minor-color-1: #FF99CC;
@minor-color-2: #CC99CC;
@minor-color-3: #F0F0F0;

@link-color: #fff;

/*----------------全局样式--------------------*/
article,
aside,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}

    nav ul {
        list-style: none;
    }

blockquote,
q {
    quotes: none;
}

    blockquote:before,
    blockquote:after,
    q:before,
    q:after {
        content: '';
        content: none;
    }

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
    outline: none;
    color: #000;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;

}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input,
select {
    vertical-align: middle;
}

* {
    margin: 0;
    padding: 0;

}

html, body {
    width: 100%;
    height: 100%;
    position: relative;
    font-family: 微软雅黑;
    font-size: 100%;
}

img {
    border: none;
}

li {
    list-style: none;
}
/*-----------浮动----------------*/
.fl {
    float: left;
}

.fr {
    float: right;
}

/*---------------显示隐藏--------------*/
.dis{
    display:block;
}
.undis{
    display:none;
}
/*------------------内容排列方式------------------*/
.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-decorationtext-through {
    text-decoration: line-through;
}

.center {
    margin: 0 auto;
}
/*------------------绝对定位------------------*/
.relative {
    position: relative;
}

.static {
    position: static;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}
/*------------------清除浮动------------------*/
.clear {
    clear: both;
}
/*---------布局--------------*/
.wrap {
    width: 100%;
}
/*容器固定宽度1160px*/
.container {
    width: 1160px;
}

/*------------------容器百分比宽度80%------------------*/
.container-percent {
    width: 80%;
}
/*-----------外框最大宽度在80%下，分成10列，每列10%,用于响应式-----------*/
.container-1 {
    width: 10%;
}

.container-2 {
    width: 20%;
}

.container-3 {
    width: 30%;
}

.container-only-3 {
    width: 33.33333333333333333333333333333333333333%;
}

.container-4 {
    width: 40%;
}

.container-only-4 {
    width: 25%;
}

.container-5 {
    width: 50%;
}

.container-6 {
    width: 60%;
}

.container-only-6 {
    width: 16%;
}

.container-7 {
    width: 70%;
}

.container-only-7 {
    width: 14.28571428571429%;
}

.container-8 {
    width: 80%;
}

.container-only-8 {
    width: 12.5%;
}

.container-9 {
    width: 90%;
}

.container-only-9 {
    width: 11.111111111111111111111111111111111111%;
}
/*------------------------全边框----------------------------*/
.border-radius {
    .rounded-corners;
}

.bordered {
    border-width: 1px;
    border-style: solid;
}
/*---------------------------panel区域块----------------------------*/
.panel {
    width: 98.2%;
    min-height: 30px;
    border: 1px solid #ccc;
    padding: 10px;
}

.panel-header {
    width: 100%;
    min-height: 20px;
}

.panel-body {
    float: left;
    margin: 10px 0;
    width: 100%;
    background: #eee;
}

.panel-footer {
    width: 100%;
    min-height: 10px;
}

/*---------------------------按钮，a标签,按钮组---------------------------*/
.btn-group {
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

    .btn-group > * {
        border: 0;
    }

.btn {
    display: block;
    padding: 5px;
    min-width: 20px;
    min-height: 20px;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    border: 0;
    text-align: center;
}

.btn-default {
    color: #696969;
    font-weight: bold;
    border: 1px solid #ccc;
    background: -moz-linear-gradient(top, #FCFCFC, #eee); /* Firefox */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FCFCFC), color-stop(1, #eee)); /* Saf4+, Chrome */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c6ff00', endColorstr='#538300', GradientType='0'); /* IE*/
}

    .btn-default:hover {
        color: #000;
    }

.btn-danger {
    border: 1px solid #b62700;
    color: #fff;
    background: -moz-linear-gradient(top, #ea3200, #9f2200); /* Firefox */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ea3200), color-stop(1, #9f2200)); /* Saf4+, Chrome */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c6ff00', endColorstr='#538300', GradientType='0'); /* IE*/
}

    .btn-danger:hover {
        color: #ff9089;
    }
/*---------------ul,ol定义 ,用于导航，按钮组------------------*/
.divider {
    height: 1px;
    margin: 5px 2px;
    border-bottom: 1px solid #ccc;
}

.navbar {
    float: left;
    background-color: #eee;
    .border-radius;
    overflow: hidden;
}

.navbar-brank {
    margin: 0 20px;
    float: left;
    min-width: 20px;
    height: 100%;
    margin-right: 20px;

    a {
        font-size: 120%;
    }
}

.navbar-menu-horizontal {
    float: left;

    li {
        float: left;

        a {
        }
    }
}

.navbar-menu-vartical {
}
